<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
include  'admin/Util.php';

 
$desc = 'desc';//set to the order description to be appear on the PayPal website;
$orderno = '1';//set to unique order number;
$nettotal = '9.9';//set to productTotal + shipmentFee + tax;
$_SESSION["ss_last_orderno"] = $orderno;

//Save order information to database using the unique order number with status set as Pending...
$url = "https://www.sandbox.paypal.com/cgi-bin/webscr"; //Test
//$url = "https://www.paypal.com/cgi-bin/webscr"; //Live
$ppAcc = "petrs_1312314665_biz@fibix.org"; //PayPal account email
$cancelURL = "http://www.fibix.org/www-new/paypal_cancel.php";
$returnURL = "http://www.fibix.org/www-new/paypal_return.php";


?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">
    <head>
        <?php
        include  'meta.php';
        ?>
        <title><?php echo Constants::$mainHeader ?></title>
        <?php
        include  'headIcon.php';
        ?>
        <link rel="stylesheet" type="text/css" href="media/default.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="lightbox/lightbox.css" media="screen" />
        <script type="text/javascript" src="lightbox/prototype.js"></script>
        <script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script>
        <script type="text/javascript" src="lightbox/lightbox.js"></script>
        <!-- TODO: doplnit meta copyright, description, keywords -->
    </head>
    <body>

        <h1><?php echo Constants::$mainHeader ?></h1>

        <?php
        include  'menu.php';
        ?>

        <!-- CONTENTS START -->

        <div id="contents">
            <div class="boxtop"></div>
            <div class="boxhdr"><h2>Downloads</h2></div>
            <div class="boxtxt" style="text-align: center;">
                <a href=""><img src="media/trialversion.jpg" alt="" /></a>
            </div>
			<div class="boxhdr"><h2>License</h2></div>
			<div class="boxtxt">
			<p>
			Why is this software free? Our price is your feedback, we
want to hear how do you like our software, what you dislike, we want
to see what are you able to create and show it to other people, see
what do you use the software for, we want to know what other features
would you like. Is this price acceptable? :) 
<br>
<br>
Nevertheless, we would like to do our best but we have limited capacities.
If you like our software, you can buy a license and support future development.
For companies we have two commercial licenses available.

<div align="center">
<table class="reference" cellpadding="4">
<tr BGCOLOR="#99CCFF">
<td width="140px">
</td>
<td width="120px">
<font size="3">
FREE
</font>
</td>
<td width="120px">
<font size="3">
Standard
</font>
</td>
<td width="120px">
<font size="3">
Professional
</font>
</td>
<td width="120px">
<font size="3">
Corporate
</font>
</td>
</tr>

<tr class="d0">
<td>
</td>
<td>
<font size="3">
0$
</font>
</td>
<td>
<font size="3">
99$
</font>
</td>
<td>
<font size="3">
399$
</font>
</td>
<td>
<font size="3">
999$
</font>
</td>
</tr>

<tr class="d1">
<td>
Number of users
</td>
<td>
1
</td>
<td>
1
</td>
<td>
10
</td>
<td>
25
</td>
</tr>


<tr class="d0">
<td>
Fibix logo
</td>
<td>
yes
</td>
<td>
optional
</td>
<td>
optional
</td>
<td>
optional
</td>
</tr>

<tr class="d1">
<td>
Online support
</td>
<td>
none
</td>
<td>
yes
</td>
<td>
yes
</td>
<td>
yes
</td>
</tr>

<tr class="d0">
<td>
Feature votes
</td>
<td>
1 
</td>
<td>
3
</td>
<td>
10
</td>
<td>
30
</td>
</tr>

<tr class="d1">
<td>
DZM exporter
</td>
<td>
no 
</td>
<td>
no
</td>
<td>
yes
</td>
<td>
yes
</td>
</tr>

<tr class="d0">
<td>
Embedded player
</td>
<td>
no 
</td>
<td>
no
</td>
<td>
yes
</td>
<td>
yes
</td>
</tr>

<tr class="d1">
<td>
Customizable logo
</td>
<td>
no 
</td>
<td>
no
</td>
<td>
yes
</td>
<td>
yes
</td>
</tr>


<tr class="d0">
<td>
Custom support
</td>
<td>
no 
</td>
<td>
no
</td>
<td>
no
</td>
<td>
yes
</td>
</tr>


</table>
</div>

<h3>How to register?</h3>
<p>
After payment you will get the activation code to your email. Insert this code to Activation dialog in
Fibix editor and you are registered. When contacting us, identify yourself by this activation code.
 
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4FEEJFEBKBTSA">
<table>
<tr><td><input type="hidden" name="on0" value="Items">Items</td></tr><tr><td><select name="os0">
	<option value="Registered user">Registered user 9.90 EUR</option>
	<option value="Gold user">Gold user 99.90 EUR</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="EUR">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

<p>
<p>
<p>
<p>
<p>
<p>

			</div>
			
			<? /* 
            <div class="boxhdr"><h2>Addons</h2></div>
            <div class="boxtxt">

                <h3>Objects</h3>

                <?php

                $link = Util::getLink();

                $query = sprintf(Util::$select_jornakDestination,
                    mysql_real_escape_string("4")
                );

                $result = mysql_query($query);

                if (!$result) {
                    die('Could not query:' . mysql_error() . '<br>' . $query);
                }
                $i = 0;
                $j = 0;
                while ($row = mysql_fetch_assoc($result)) {
                    $query = sprintf(Util::$select_jornakText,
                        mysql_real_escape_string($row['textid'])
                    );
                    $result2 = mysql_query($query);
                    if (!$result2) {
                        die('Could not query:' . mysql_error() . '<br>' . $query);
                    }
                    $row2 = mysql_fetch_assoc($result2);
                    if ($row2['list'] == 1) {
                        $objects[$i][0] = $row2['header'];
                        $objects[$i][1] = Constants::$uploads_dir_fromWeb.$row2['text'];
                        $i++;
                    }else {
                        $scenes[$j][0] = $row2['header'];
                        $scenes[$j][1] = Constants::$uploads_dir_fromWeb.$row2['text'];
                        $j++;
                    }
                }
                Util::closeLink($link);                
                echo '<ul>';
                $count = count($objects);
                for ($j = 0; $j < $count;$j++) {
                    echo '<li><a href="';
                    echo $objects[$j][1];
                    echo '">';
                    echo $objects[$j][0];
                    echo '</a></li>';
                }
                echo ' </ul> <h3>Scenes</h3> <ul>';
                $count = count($scenes);
                for ($j = 0; $j < $count;$j++) {
                    echo '<li><a href="';
                    echo $scenes[$j][1];
                    echo '">';
                    echo $scenes[$j][0];
                    echo '</a></li>';
                }
                echo ' </ul>';

                ?>

                <div id="cleaner"></div>
            </div>
			*/
			?>
            <div class="boxbtm"></div>
			
        </div>

        <!-- CONTENTS END -->

        <?php
        include  'footer.php';
        ?>

    </body>
    <?php include 'googleAnalyt.php';?>
</html>